package com.cvmars.jianyou.module.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.RelativeLayout;

import com.cvmars.jianyou.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MeAccountActivity extends AppCompatActivity {

    @BindView(R.id.rl_chongzhi)
    RelativeLayout rlChongzhi;
    @BindView(R.id.rl_tixian)
    RelativeLayout rlTixian;
    @BindView(R.id.rl_mingxi)
    RelativeLayout rlMingxi;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_me_account);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.rl_chongzhi, R.id.rl_tixian, R.id.rl_mingxi})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.rl_chongzhi:
                startActivity(new Intent(this,AccountChongZhiActivity.class));
                break;
            case R.id.rl_tixian:
                startActivity(new Intent(this,AccountTixianActivity.class));
                break;
            case R.id.rl_mingxi:
                break;
        }
    }
}
